package org.yate.oa.service;

import java.util.List;

import org.yate.oa.model.UserEntity;
import org.yate.oa.utils.Pagination;

public interface IUserService extends IBaseService<UserEntity, Integer> {

	
	public Integer addUser(final UserEntity e);
	
	public Pagination<UserEntity> getEntitiesByOrdId(final int idx, final int size,
        final String orderField, final String orderMode,
        final String... strings);
	
	public List<UserEntity> getAllUsers();
	
	public List<UserEntity> getAllUsersByOrgId(List<Integer> ids);
	
	public void updatePassword(final UserEntity e);
	
	UserEntity getEntityByUserName(String...strings);
	
	public List<UserEntity> getEntityBy(final UserEntity u);
}
